package com.chapter4.superprivatefinal.demo3;

/**
 * final方法不可被子类重写
 */
public class FinalMethod {
    public final void Speak(){
        System.out.println("Speak something");
    }

    class extendsFromFinalMethod extends FinalMethod{
       // public  void Speak(){}
    }
}
